<?php
/* 
Template Name:Disucz X! 手机版
Description:简洁，快速。。
Author:Flyer
Author Url:http://flyer.pytalhost.com
Sidebar Amount:1 
*/
if(!defined('EMLOG_ROOT')) {exit('error!');}
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title><?php echo Option::get('blogname'); ?></title>
<meta name="keywords" content="<?php echo Option::get('site_key'); ?>" />
<meta name="description" content="Flyer" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="view/images/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="view/images/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="114x114" href="view/images/touch-icon-iphone4.png">
<link rel="stylesheet" href="view/jquery.mobile-1.1.0.min.css" type="text/css" media="all" />
<script src="view/jquery.min.js"></script>
<script src="view/jquery.mobile-1.1.0.min.js"></script>
</head>
<body class="ui-mobile-viewport ui-overlay-c">
<div data-role="page" tabindex="0" class="ui-page ui-body-c ui-page-active" style="min-height: 624px; ">
<div data-role="header" role="banner" class="ui-header ui-bar-a">
<div class="ui-bar ui-bar-b postBtn2 threadHead" data-position="inline">
	<div data-role="controlgroup" data-type="horizontal" class="ui-corner-all ui-controlgroup ui-controlgroup-horizontal">
			<a href="<?php echo BLOG_URL; ?>wap" data-icon="home" data-role="button" ><span class="ui-btn-text">首页</span></a>
			    <?php if(ISLOGIN === true): ?>
				<a href="./?action=write" data-role="button" data-theme="b" data-transition="none">写日志</a> 
   <?php endif;?>
	<span class="disPosts" style="float:right">
		<a href="#" onClick="window.external.addFavorite(window.location.href,document.title)" data-role="button" data-theme="b" ><span class="ui-btn-text">收藏</span></a>
<?php if(ISLOGIN === true): ?>
<a href="./?action=logout" data-role="button" data-theme="e"><span class="ui-btn-text">退出</span></a>
    <?php else:?>
		<a href="<?php echo BLOG_URL; ?>wap/?action=login" data-role="button" data-theme="e" ><span class="ui-btn-text">登录</span></a>
	<?php endif;?>
    	</span>
</div>
</div>
</div>
<div class="hddiv ui-grid-a">
  <div class="ui-block-b hdLogo">
		<a href="/wap" data-transition="none" class="ui-link"><img style="margin:4px 0 0 4px;" src="view/images/big_logo.png" /></a>
		<span class="version">Mobile<em>Ver.1.3.0</em></span>
	</div>
	<div class="ui-block-b">
	  <a href="#" class="avatar ui-link" data-transition="none"><img src="view/images/avatar_small.gif" /></a>
		<span class="uidName"></span>
	</div>
</div>
<div class="uiddiv ui-bar-b ui-navbar" data-role="navbar" role="navigation">
	<ul class="ui-grid-c">
	    <?php if(Option::get('istwitter') == 'y'): ?>
		<li><a href="./?action=tw"  data-icon="info" data-transition="none"><span class="ui-btn-text">碎语</span></a></li>
		<?php endif;?>
		<li><a href="./?post=4" data-icon="star" data-transition="none"><span class="ui-btn-text">留言</span></a></li>
		<li><a href="./?action=com" data-icon="grid" data-transition="none"><span class="ui-btn-text">回复</span></a></li>
		<li><a href="./?action=space" data-icon="gear" data-transition="none"><span class="ui-btn-text">关于</span></a></li>
	</ul>
</div>
